FROM jdk

MAINTAINER Eric
ENV LANG en_US.UTF-8

RUN mkdir -p /opt/auth-server/
RUN chmod -R 777 /opt/auth-server/
COPY ./auth-server-0.0.1-SNAPSHOT.jar /opt/auth-server/auth-server-0.0.1-SNAPSHOT.jar
ENTRYPOINT ["java", "-Xms246m", "-Xmx1024m", "-jar", "/opt/auth-server/auth-server-0.0.1-SNAPSHOT.jar"]
EXPOSE 8001
